package com.furentech.iotserver.fa.sinopec;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Component
public class SinopecParam {
    @Value("${sinopec.devbase.destiAddr}")
    public int destiAddr;

    @Value("${sinopec.devbase.devSourceAddr}")
    public int devSourceAddr;

    @Value("${sinopec.readableMsgTopic}")
    public String readableMsgTopic;

    @Value("${sinopec.persistentMsgTopic}")
    public String persistentMsgTopic;

    @Value("${sinopec.maxAmn}")
    public int maxAmn;

    @Value("${sinopec.addIn}")
    public Boolean addIn;
}
